﻿namespace HazeCore.Persistence
{
    public interface IBinaryPersister
    {
        long Position { get; set; }
        long Length { get; set; }

        void Write(byte[] bytes, int pos, int size);
        int Read(byte[] bytes, int pos, int size);
    }
}
